package com.zm.vcode.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Data
@ConfigurationProperties(prefix = "vcode")
@NoArgsConstructor
@AllArgsConstructor
public class VcodeProperties {
    List<String> paths;
    String from;
    List<Map<String,String>> msgs;
}
